package com.seari.controller;

import com.seari.pojo.MessageBean;
import com.seari.service.RlEventMaintenanceRecordService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * Created by 98383 on 2019/5/7.
 */
@RestController
@RequestMapping("/rl")
public class RlEventMaintenanceRecordController {
    @Resource
    RlEventMaintenanceRecordService rlEventMaintenanceRecordService;

    @RequestMapping("/list")
    public MessageBean list(Integer taskNo,Integer start,Integer limit){
        return rlEventMaintenanceRecordService.RlEventMaintenanceRecordList(taskNo,start,limit);
    }
}
